


///CDN
class RequestConfig {
  static const String imgServer = 'https://assets-cdn.sharebike.net/applet';
}


///经纬度转地址
const kAPIURLMapAddress = '/public/v1/server/amap/address';
const kAPIURLGeogBike = '/device-api/v1/geog/list/bikes';
const kAPIURLGeogPark = '/device-api/v1/geog/list/parkingareas';
///手机号登录
const kAPIURLMobileLogin = '/user-api/v1/auth/mobile/login';
const kAPIURLMobileSend = '/user-api/v1/auth/mobile/send';
///邮箱登录
const kAPIURLEmailLogin = '/user-api/v1/auth/email/login';
const kAPIURLEmailSend = '/user-api/v1/auth/email/send';
///获取切换后品牌信息
const kAPIURLChangeBrand = '/user-api/v1/user/change/brand';
///品牌信息
const kAPIURLBrandInfo = '/public/v1/server/brand/info';
///广告信息
const kAPIURLPmtData = '/public-user-api/v1/pmt/data';
///区域信息
const kAPIURLBrandAreaInfo = '/public/v1/server/brand/area/info';
///骑行卡
const kAPIURLCmallCards = '/bike-payment-api/v1/cmall/list/cards';
///获取未支付的违规订单
const kAPIURLViolationUnpay = '/user-api/v1/violation/unpay';
const kAPIURLOrderUnpay = '/user-api/v1/user/unpay/order/list';
///支付
const kAPIURLBalancePay = '/bike-payment-api/v1/balance/pay';
const kAPIURLOverseasPay = '/bike-payment-api/v1/open-pay/overseas/create';
/// fiuu & MTP 支付平台
const kAPIURLCreateOrderOverseasPay = '/bike-payment-api/v1/overseasPay/create/order';

const kAPIURLOverseasPayStatus = '/bike-payment-api/v1/user/get/paystatus';
const kAPIURLFinishOrderDetail = '/user-api/v1/user/finish/order/detail';
const kAPIURLFinishOrderList = '/user-api/v1/user/finish/order/list';

///获取用户信息
const kAPIURLUserInfo = '/user-api/v1/user/info/full';
///帮助信息列表
const kAPIURLHelpList = '/public/v1/help/list';
///退出登录
const kAPIURLLogout = '/user-api/v1/user/logout';
///故障提交
const kAPIURLFaultReport = '/user-api/v1/service/fault_reporting';
///优惠券 、骑行卡数量
const kAPIURLStatDiscount = '/bike-payment-api/v1/user/stat/discount';
/// 余额
const kAPIURLFinanceInfo = '/bike-payment-api/v1/user/get/financeinfo';
const kAPIURLRefundInfo = '/bike-payment-api/v1/user/recharge/refund/info';
const kAPIURLRechargeInfo = '/bike-payment-api/v1/activity/get/recharge';
/// open-pay (暂时不用)
const kAPIURLCreateOrder = '/bike-payment-api/v1/open-pay/create/order';


/// 申请退款
const kAPIURLRechargeRefundApply = '/bike-payment-api/v1/user/recharge/refund/apply';
const kAPIURLRechargeFiuuRefundApply = '/bike-payment-api/v1/fiuu/refund/order';
/// 交易明细
const kAPIURLTransactions = '/bike-payment-api/v1/user/list/transactions';
/// 充值记录
const kAPIURLRechargeArrow = '/bike-payment-api/v1/user/recharge/refund/allow';
/// 商户协议
const kAPIURLContracts = '/user-api/v1/contracts/contractsV2';
const kAPIURLSignContracts = '/user-api/v1/contracts/signContract';
/// 车辆信息
const kAPIURLBikeInfo = '/device-api/v1/bike/get/bikeinfo';
const kAPIURLUnPayInfo = '/user-api/v1/user/unpay/order/detail';
const kAPIURLServiceTime = '/public-user-api/v1/server/time';
const kAPIURLOrderExist = '/public-user-api/v1/device/order/exist';
const kAPIURLBikeRealTime = '/device-api/v1/bike/get/realtime';
const kAPIURLBikeRefreshGps = '/device-api/v1/bikecmd/refresh/gps';
/// 校验是否在停车站点内
const kAPIURLCheckParking = '/device-api/v1/geog/check/parkingstatus';
/// 借车
const kAPIURLBikeBorrow = '/device-api/v1/bike/borrow';
const kAPIURLBikeTempLock = '/device-api/v1/bike/lockswitch';
const kAPIURLBikeReturn = '/device-api/v1/bike/return';
const kAPIURLBikeReturnFee = '/device-api/v1/bikereturn/query/fee';
/// 头盔
const kAPIURLHelmetUnlock = '/device-api/v1/bike/unlockhelmet';

///发送指令
///寻车铃
const kAPIURLFindBike = '/device-api/v1/bikevoice/findbike';

///上传图片
const kAPIURLUploadImg = '/public/v1/cos/upload/image';
///故障部件列表
const kAPIURLServerParts = '/public/v1/server/parts/list';

/// 最新更新版本
const kAPIURLLatestVersion = '/merchant-api/v1//applications/latestVersion';
/// 版本更新记录
const  kAPIURLVersionLogs = '/merchant-api/v1//applications/logRecords';



